﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Royaumes_Libres.Database;

namespace Royaumes_Libres
{
    public partial class index : System.Web.UI.Page
    {
        cUsers pUser;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session[Properties.Settings.Default.ObjUser] != null)
                {
                    pUser = (cUsers)Session[Properties.Settings.Default.ObjUser];
                }

                this.divTextIndex.InnerHtml = cText.GetText("txtAccueil");
                this.aLogin.InnerHtml = cText.GetText("Login");
                this.aRegister.InnerHtml = cText.GetText("Register");
            }

        }
    }
}